package com.lansen.loxen;

import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterActivity;
import io.flutter.embedding.engine.FlutterEngine;
import com.baidu.flutter_bmfbase.BmfContextHelper;
import com.baidu.mapapi.SDKInitializer;
import io.flutter.plugins.GeneratedPluginRegistrant;

public class MainActivity extends FlutterActivity {
  @Override
  public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) {
    GeneratedPluginRegistrant.registerWith(flutterEngine);
    BmfContextHelper.sContext = getApplication();
    SDKInitializer.initialize(BmfContextHelper.sContext);
  }
}
